package com.eduhzy.ttw.teacher.di.component;

import com.eduhzy.ttw.teacher.di.module.VerifyMessageModule;
import com.eduhzy.ttw.teacher.mvp.contract.VerifyMessageContract;
import com.eduhzy.ttw.teacher.mvp.ui.activity.VerifyMessageActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;

/**
 * @author xubo
 * @date 2018-7-20 17:16:22
 */
@ActivityScope
@Component(modules = VerifyMessageModule.class, dependencies = AppComponent.class)
public interface VerifyMessageComponent {
    void inject(VerifyMessageActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        VerifyMessageComponent.Builder view(VerifyMessageContract.View view);

        VerifyMessageComponent.Builder appComponent(AppComponent appComponent);

        VerifyMessageComponent build();
    }


}